From: Chong Yidong Date: Wed, 13 Jun 2007 00:04:16 +0000 (+0000) Subject: (custom-theme-directory): Use user-emacs-directory. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~18452 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=7e962fbc51f148f2c54fc19abf9c09e49ce347df;p=emacs.git (custom-theme-directory): Use user-emacs-directory. --- diff --git a/lisp/custom.el b/lisp/custom.el index f5028ddc0d5..98a301d80f1 100644 --- a/lisp/custom.el +++ b/lisp/custom.el @@ -1009,10 +1009,7 @@ Every theme X has a property `provide-theme' whose value is \"X-theme\". ;;; Loading themes. (defcustom custom-theme-directory - (if (eq system-type 'ms-dos) - ;; MS-DOS cannot have initial dot. - "~/_emacs.d/" - "~/.emacs.d/") + user-emacs-directory "Directory in which Custom theme files should be written. `load-theme' searches this directory in addition to load-path. The command `customize-create-theme' writes the files it produces